package com.yhd.factory.abstracts;

import com.yhd.factory.abstracts.meizi.AbstractMeiZi;
import com.yhd.factory.abstracts.meizi.AbstractMeiZiFactory;
import com.yhd.factory.abstracts.meizi.PiaoLiangFactory;
import org.junit.Test;

/**
 * @author yhd
 * @email yinhuidong1@xiaomi.com
 * @description TODO
 * @since 2021/5/23 上午12:24
 */
public class MainTest {

    @Test
    public void test(){
        AbstractMeiZiFactory factory = new PiaoLiangFactory();
        AbstractMeiZi meiZi = factory.getMeiZi();
        System.out.println(meiZi);
    }
}
